package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjFactoryOrderDeductionBill;

import java.math.BigDecimal;

/**
 * <p>
 * 厂商工单扣款账单表，与工单一对一 服务类
 * </p>
 *
 * @author WEN
 * @since 2024-04-07
 */
public interface ZjFactoryOrderDeductionBillService extends IService<ZjFactoryOrderDeductionBill> {

    /**
     * 保存厂商结单扣款信息
     * @param custAccId 商家平台ID
     * @param factoryId 品牌厂商ID
     * @param workId 工单ID
     * @param workNo 工单单号
     * @param allInclusiveFee 是否包费用：false-不包，true-全包
     * @param modulePrice 厂商结算价
     */
    void save(Long custAccId, Long factoryId, Long workId, String workNo, boolean allInclusiveFee, BigDecimal modulePrice);

}
